package com.lvmama.core.bean;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class UserTravelDetailDTO implements Serializable {
    /**
     * 用户行程明细id
     */
    private Integer           userTravelDetailId;

    /**
     * 用户行程id(外键)
     */
    private Integer           userTravelId;

    /**
     * 排序
     */
    private Integer           seq;

    /**
     * 备注信息
     */
    private String            remark;

    /**
     * 创建时间
     */
    private Date              createTime;

    /**
     * 修改时间
     */
    private Date              modifyTime;

    /**
     * 描述信息
     */
    private String            memo;

    /**
     * 行程对应的目的地
     */
    private List<UserTravelDetailDestDTO> TravelDetailDests;

    private static final long serialVersionUID = 1L;

    public Integer getUserTravelDetailId() {
        return userTravelDetailId;
    }

    public void setUserTravelDetailId(Integer userTravelDetailId) {
        this.userTravelDetailId = userTravelDetailId;
    }

    public Integer getUserTravelId() {
        return userTravelId;
    }

    public void setUserTravelId(Integer userTravelId) {
        this.userTravelId = userTravelId;
    }

    public Integer getSeq() {
        return seq;
    }

    public void setSeq(Integer seq) {
        this.seq = seq;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo == null ? null : memo.trim();
    }

    public List<UserTravelDetailDestDTO> getTravelDetailDests() {
        return TravelDetailDests;
    }

    public void setTravelDetailDests(List<UserTravelDetailDestDTO> travelDetailDests) {
        TravelDetailDests = travelDetailDests;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", userTravelDetailId=").append(userTravelDetailId);
        sb.append(", userTravelId=").append(userTravelId);
        sb.append(", seq=").append(seq);
        sb.append(", remark=").append(remark);
        sb.append(", createTime=").append(createTime);
        sb.append(", modifyTime=").append(modifyTime);
        sb.append(", memo=").append(memo);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}
